#ifndef _SCREEN_H_
#define _SCREEN_H_

#include<iostream>
#include <list>
#include "rectangle.h"
#include "MyCircle.h"
using namespace std;

const int s_height = 25;
const int s_width = 80;

class screen
{
	char scr[25][80];

public:
	//c'tor
	screen()
	{
		for(int i=0; i <= 79; i++)
			for(int j=0; j <= 24; j++)
				scr[j][i] = ' ';
	}

	void initScr();
	void getScreenFromList( const list<Shape*> &shape_list);
	void changeCell( int x, int y, char sign) { scr[y][x] = sign; }
	char getCell(int x, int y){return scr[y][x];}
	void printScrToScreen()const;
};



#endif